home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
fglqbx10.zip
/
09-26.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-07
|
487b
|
29 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
NewMode = FGbestmode(320,200,1)
IF NewMode < 0 OR NewMode = 12 THEN
PRINT "This program requires a 320 x 200 color graphics mode."
STOP
END IF
OldMode = FGgetmode
FGsetmode NewMode
FGsetcolor 7
FGrect 0, 159, 0, 99
FGsetcolor 9
FGlocate 6, 6
FGtext "quadrant", 8
FGwaitkey
FGtcmask &h0202
FGtcxfer 0, 159, 0, 99, 160, 99, 0, 0
FGtcxfer 0, 319, 0, 99, 0, 199, 0, 0
FGwaitkey
FGsetmode OldMode
FGreset
END